#include <cstdio>
using namespace std;

int main()
{
    int height;
    while (scanf("%d", &height) != EOF) {
        int total = height + (height - 1) * 2;
        int star, blank;
        for (int i = 0; i < height; i++) {
            star = height + i * 2;
            blank = total - star;
            for (int j = 0; j < blank; j++) 
                printf(" ");
            for (int k = 0; k < star; k++)
                printf("*");
            printf("\n");
        }
    }

    return 0;
}